package com.candy.candycommon.exception;

/**
 * @author suYanLong
 * @date 2023年01月31日 16:38
 */
public class BadRequestException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    protected final String message;

    public BadRequestException(String message) {
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }

}
